import http from '../utils/request'
// 学校获取活动列表
export const getPublish = (body) => {
  // console.log(body)
  return http.get('/getPublish', body)
}
// 管理员获取列表
export const adminGetPub = (body) => {
  // console.log(body)
  return http.get('/adminGetPub', body)
}
// 管理员审核活动
export const examPub = (body) => {
  // console.log(body)
  return http.post('/examPub', body)
}
// 教师获取活动列表
export const teacherGetPub = (body) => {
  // console.log(body)
  return http.get('/teacherGetPub', body)
}
// 报名活动
export const enterActivity = (body) => {
  // console.log(body)
  return http.post('/enterActivity', body)
}
// 教师获取我的报名
export const getRecordList = (params) => {
  // console.log(params)
  return http.get('/getRecordList', params)
}
// 删除报名
export const deleteMyCount = (params) => {
  // console.log(params)
  return http.post('/deleteMyCount', params)
}
// 学校获取报名列表
export const schoolGetRecord = (params) => {
  // console.log(params)
  return http.get('/schoolGetRecord', params)
}
// 学校审核教师信息
export const schoolExamin = (params) => {
  // console.log(params)
  return http.post('/schoolExamin', params)
}
// 学校添加活动
export const schoolAddPub = (body) => {
  // console.log(body)
  return http.post('/schoolAddPub', body)
}
// 修改活动信息
export const schoolUpPub = (body) => {
  // console.log(body)
  return http.post('/schoolUpPub', body)
}
// 删除活动
export const deletePub = (body) => {
  // console.log(body)
  return http.post('/deletePub', body)
}
// 获取活动详细信息
export const getAtivityd = (body) => {
  // console.log(body)
  return http.post('/getAtivityd', body)
}
// 获取教师详细信息
export const getTeacherd = (body) => {
  // console.log(body)
  return http.post('/getTeacherd', body)
}
// 学校获取记录
export const makeRecord = (body) => {
  // console.log(body)
  return http.post('/makeRecord', body)
}
// 教师获取记录
export const TmakeRecord = (body) => {
  // console.log(body)
  return http.post('/TmakeRecord', body)
}
// 管理员获取记录
export const AmakeRecord = (body) => {
  // console.log(body)
  return http.post('/AmakeRecord', body)
}
// 教师评价
export const teacherComment = (body) => {
  // console.log(body)
  return http.post('/teacherComment', body)
}
// 完成记录
export const overRecord = (body) => {
  // console.log(body)
  return http.post('/overRecord', body)
}
// 删除记录
export const deleteRecord = (body) => {
  // console.log(body)
  return http.post('/deleteRecord', body)
}
// 发送面试
export const postInterview = (body) => {
  // console.log(body)
  return http.post('/postInterview', body)
}
// 确认面试
export const takeOk = (body) => {
  // console.log(body)
  return http.post('/takeOk', body)
}
// 接受或拒绝
export const acceptReject = (body) => {
  // console.log(body)
  return http.post('/acceptReject', body)
}
